package com.taocyb.core.uc.manager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.taocyb.commons.uc.entity.UserIpLog;
import com.taocyb.core.uc.dao.UserIpLogDao;

@Component
@Transactional(readOnly = true)
public class UserIpLogManager{

	@Autowired
	private UserIpLogDao userIpLogDao;
	
	/**
	 * 新增用户IP日志
	 */
	@Transactional(readOnly = false)
	public void save(UserIpLog log) {
		userIpLogDao.save(log);
	}
}